/*
*
* SPDX-License-Identifier: GPL-2.0
*
* Copyright (C) 2011-2018 ARM or its affiliates
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; version 2.
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*
*/

#if !defined(__OV08A10_SENSOR_H__)
#define __OV08A10_SENSOR_H__


/*-----------------------------------------------------------------------------
Initialization sequence - do not edit
-----------------------------------------------------------------------------*/

#include "sensor_init.h"

static acam_reg_t init[] = {
    //wait command - address is 0xFFFF
    { 0xFFFF, 20 },
    //stop sequence - address is 0x0000
    { 0x0000, 0x0000, 0x0000, 0x0000 }
};

static acam_reg_t setting_1280_720_2lane_250m_5fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x32, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x21, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x02, 0xff, 1},
	{0x3502, 0xdf, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x00, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x69, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x36c0, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x39, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x21, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x3740, 0x1b, 0xff, 1},
	{0x3741, 0x04, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3760, 0x10, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x05, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380a, 0x02, 0xff, 1},
	{0x380b, 0xd0, 0xff, 1},
	{0x380c, 0x04, 0xff, 1},
	{0x380d, 0x0c, 0xff, 1},
	{0x380e, 0x03, 0xff, 1},
	{0x380f, 0x04, 0xff, 1},
	{0x3813, 0x04, 0xff, 1},
	{0x3814, 0x01, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x01, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x00, 0xff, 1},
	{0x3821, 0x04, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x3833, 0x00, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2b, 0xff, 1},
	{0x4004, 0x00, 0xff, 1},
	{0x4005, 0x40, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa0, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x00, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x0d, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x2f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x18, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x14, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},
	{0x4d00, 0x03, 0xff, 1},
	{0x4d01, 0xc9, 0xff, 1},
	{0x4d02, 0xbc, 0xff, 1},
	{0x4d03, 0xc6, 0xff, 1},
	{0x4d04, 0x4a, 0xff, 1},
	{0x4d05, 0x25, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},

	{0x0301, 0x00, 0xff, 1},
	{0x030c, 0x01, 0xff, 1},
	{0x0303, 0x06, 0xff, 1},
	{0x0305, 0x7d, 0xff, 1},
	{0x4837, 0x40, 0xff, 1},
	{0x0322, 0x01, 0xff, 1},
	{0x380c, 0x08, 0xff, 1},
	{0x380d, 0x0c, 0xff, 1},
	{0x380e, 0x1b, 0xff, 1},
	{0x380f, 0x4e, 0xff, 1},
	{0x3812, 0x00, 0xff, 1},
	{0x3813, 0x10, 0xff, 1},
	{0x3501, 0x1b, 0xff, 1},
	{0x3502, 0x45, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t setting_1280_720_2lane_688m_5fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x2b, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x21, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x04, 0xff, 1},
	{0x3509, 0x00, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x39, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x360e, 0x86, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3762, 0x11, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},

	{0x3800, 0x05, 0xff, 1},
	{0x3801, 0x08, 0xff, 1},
	{0x3802, 0x02, 0xff, 1},
	{0x3803, 0xDC, 0xff, 1},
	{0x3804, 0x0A, 0xff, 1},
	{0x3805, 0x17, 0xff, 1},
	{0x3806, 0x05, 0xff, 1},
	{0x3807, 0xB3, 0xff, 1},
	{0x3808, 0x05, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380A, 0x02, 0xff, 1},
	{0x380B, 0xD0, 0xff, 1},

	{0x380c, 0x10, 0xff, 1},
	{0x380d, 0x30, 0xff, 1},
	{0x380e, 0x1b, 0xff, 1},
	{0x380f, 0x24, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x05, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x17, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{0x0000, 0x0000, 0x0000, 0x0000},
};

static acam_reg_t setting_1280_720_4lane_688m_5fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x2b, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x04, 0xff, 1},
	{0x3509, 0x00, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x39, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x360e, 0x86, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3762, 0x11, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},

	{0x3800, 0x05, 0xff, 1},
	{0x3801, 0x08, 0xff, 1},
	{0x3802, 0x02, 0xff, 1},
	{0x3803, 0xDC, 0xff, 1},
	{0x3804, 0x0A, 0xff, 1},
	{0x3805, 0x17, 0xff, 1},
	{0x3806, 0x05, 0xff, 1},
	{0x3807, 0xB3, 0xff, 1},
	{0x3808, 0x05, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380A, 0x02, 0xff, 1},
	{0x380B, 0xD0, 0xff, 1},

	{0x380c, 0x10, 0xff, 1},
	{0x380d, 0x30, 0xff, 1},
	{0x380e, 0x1b, 0xff, 1},
	{0x380f, 0x24, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x05, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x17, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t setting_1920_1080_4lane_800m_30fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x32, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x39, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x360e, 0x86, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3762, 0x11, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x07, 0xff, 1},
	{0x3809, 0x80, 0xff, 1},
	{0x380a, 0x04, 0xff, 1},
	{0x380b, 0x38, 0xff, 1},
	{0x380c, 0x08, 0xff, 1},
	{0x380d, 0x18, 0xff, 1},
	{0x380e, 0x09, 0xff, 1},
	{0x380f, 0x0c, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x05, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x14, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	//{0x5081, 0x80, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_2560_1440_4lane_800m_30fps[] = {
       {0x0103, 0x01, 0xff, 1},
       {0x0303, 0x01, 0xff, 1},
       {0x0305, 0x32, 0xff, 1},
       {0x0306, 0x00, 0xff, 1},
       {0x0308, 0x03, 0xff, 1},
       {0x0309, 0x04, 0xff, 1},
       {0x032a, 0x00, 0xff, 1},
       {0x300f, 0x11, 0xff, 1},
       {0x3010, 0x01, 0xff, 1},
       {0x3011, 0x04, 0xff, 1},
       {0x3012, 0x41, 0xff, 1},
       {0x3016, 0xf0, 0xff, 1},
       {0x301e, 0x98, 0xff, 1},
       {0x3031, 0xa9, 0xff, 1},
       {0x3103, 0x92, 0xff, 1},
       {0x3104, 0x01, 0xff, 1},
       {0x3106, 0x10, 0xff, 1},
       {0x3400, 0x04, 0xff, 1},
       {0x3025, 0x03, 0xff, 1},
       {0x3425, 0x51, 0xff, 1},
       {0x3428, 0x01, 0xff, 1},
       {0x3406, 0x08, 0xff, 1},
       {0x3408, 0x03, 0xff, 1},
       {0x340c, 0xff, 0xff, 1},
       {0x340d, 0xff, 0xff, 1},
       {0x031e, 0x09, 0xff, 1},
       {0x3501, 0x08, 0xff, 1},
       {0x3502, 0xe5, 0xff, 1},
       {0x3505, 0x83, 0xff, 1},
       {0x3508, 0x00, 0xff, 1},
       {0x3509, 0x80, 0xff, 1},
       {0x350a, 0x04, 0xff, 1},
       {0x350b, 0x00, 0xff, 1},
       {0x350c, 0x00, 0xff, 1},
       {0x350d, 0x80, 0xff, 1},
       {0x350e, 0x04, 0xff, 1},
       {0x350f, 0x00, 0xff, 1},
       {0x3600, 0x00, 0xff, 1},
       {0x3603, 0x2c, 0xff, 1},
       {0x3605, 0x50, 0xff, 1},
       {0x3609, 0xb5, 0xff, 1},
       {0x3610, 0x39, 0xff, 1},
       {0x360c, 0x01, 0xff, 1},
       {0x3628, 0xa4, 0xff, 1},
       {0x362d, 0x10, 0xff, 1},
       {0x3660, 0x43, 0xff, 1},
       {0x3661, 0x06, 0xff, 1},
       {0x3662, 0x00, 0xff, 1},
       {0x3663, 0x28, 0xff, 1},
       {0x3664, 0x0d, 0xff, 1},
       {0x366a, 0x38, 0xff, 1},
       {0x366b, 0xa0, 0xff, 1},
       {0x366d, 0x00, 0xff, 1},
       {0x366e, 0x00, 0xff, 1},
       {0x3680, 0x00, 0xff, 1},
       {0x36c0, 0x00, 0xff, 1},
       {0x3701, 0x02, 0xff, 1},
       {0x373b, 0x02, 0xff, 1},
       {0x373c, 0x02, 0xff, 1},
       {0x3736, 0x02, 0xff, 1},
       {0x3737, 0x02, 0xff, 1},
       {0x3705, 0x00, 0xff, 1},
       {0x3706, 0x39, 0xff, 1},
       {0x370a, 0x00, 0xff, 1},
       {0x370b, 0x98, 0xff, 1},
       {0x3709, 0x49, 0xff, 1},
       {0x3714, 0x21, 0xff, 1},
       {0x371c, 0x00, 0xff, 1},
       {0x371d, 0x08, 0xff, 1},
       {0x3740, 0x1b, 0xff, 1},
       {0x3741, 0x04, 0xff, 1},
       {0x375e, 0x0b, 0xff, 1},
       {0x3760, 0x10, 0xff, 1},
       {0x3776, 0x10, 0xff, 1},
       {0x3781, 0x02, 0xff, 1},
       {0x3782, 0x04, 0xff, 1},
       {0x3783, 0x02, 0xff, 1},
       {0x3784, 0x08, 0xff, 1},
       {0x3785, 0x08, 0xff, 1},
       {0x3788, 0x01, 0xff, 1},
       {0x3789, 0x01, 0xff, 1},
       {0x3797, 0x04, 0xff, 1},
       {0x3762, 0x11, 0xff, 1},
       {0x3800, 0x00, 0xff, 1},
       {0x3801, 0x00, 0xff, 1},
       {0x3802, 0x00, 0xff, 1},
       {0x3803, 0x0c, 0xff, 1},
       {0x3804, 0x0e, 0xff, 1},
       {0x3805, 0xff, 0xff, 1},
       {0x3806, 0x08, 0xff, 1},
       {0x3807, 0x6f, 0xff, 1},
       {0x3808, 0x0a, 0xff, 1}, //0f
       {0x3809, 0x00, 0xff, 1},
       {0x380a, 0x05, 0xff, 1}, //08
       {0x380b, 0xa0, 0xff, 1}, //70
       {0x380c, 0x08, 0xff, 1},
       {0x380d, 0x18, 0xff, 1},
       {0x380e, 0x09, 0xff, 1},
       {0x380f, 0x0a, 0xff, 1},
       {0x3813, 0x10, 0xff, 1},
       {0x3814, 0x01, 0xff, 1},
       {0x3815, 0x01, 0xff, 1},
       {0x3816, 0x01, 0xff, 1},
       {0x3817, 0x01, 0xff, 1},
       {0x381c, 0x00, 0xff, 1},
       {0x3820, 0x00, 0xff, 1},
       {0x3821, 0x04, 0xff, 1},
       {0x3823, 0x08, 0xff, 1},
       {0x3826, 0x00, 0xff, 1},
       {0x3827, 0x08, 0xff, 1},
       {0x382d, 0x08, 0xff, 1},
       {0x3832, 0x02, 0xff, 1},
       {0x3833, 0x00, 0xff, 1},
       {0x383c, 0x48, 0xff, 1},
       {0x383d, 0xff, 0xff, 1},
       {0x3d85, 0x0b, 0xff, 1},
       {0x3d84, 0x40, 0xff, 1},
       {0x3d8c, 0x63, 0xff, 1},
       {0x3d8d, 0xd7, 0xff, 1},
       {0x4000, 0xf8, 0xff, 1},
       {0x4001, 0x2b, 0xff, 1},
       {0x4004, 0x00, 0xff, 1},
       {0x4005, 0x40, 0xff, 1},
       {0x400a, 0x01, 0xff, 1},
       {0x400f, 0xa0, 0xff, 1},
       {0x4010, 0x12, 0xff, 1},
       {0x4018, 0x00, 0xff, 1},
       {0x4008, 0x02, 0xff, 1},
       {0x4009, 0x0d, 0xff, 1},
       {0x401a, 0x58, 0xff, 1},
       {0x4050, 0x00, 0xff, 1},
       {0x4051, 0x01, 0xff, 1},
       {0x4028, 0x2f, 0xff, 1},
       {0x4052, 0x00, 0xff, 1},
       {0x4053, 0x80, 0xff, 1},
       {0x4054, 0x00, 0xff, 1},
       {0x4055, 0x80, 0xff, 1},
       {0x4056, 0x00, 0xff, 1},
       {0x4057, 0x80, 0xff, 1},
       {0x4058, 0x00, 0xff, 1},
       {0x4059, 0x80, 0xff, 1},
       {0x430b, 0xff, 0xff, 1},
       {0x430c, 0xff, 0xff, 1},
       {0x430d, 0x00, 0xff, 1},
       {0x430e, 0x00, 0xff, 1},
       {0x4501, 0x18, 0xff, 1},
       {0x4502, 0x00, 0xff, 1},
       {0x4643, 0x00, 0xff, 1},
       {0x4640, 0x01, 0xff, 1},
       {0x4641, 0x04, 0xff, 1},
       {0x4800, 0x64, 0xff, 1},
       {0x4809, 0x2b, 0xff, 1},
       {0x4813, 0x90, 0xff, 1},
       {0x4817, 0x04, 0xff, 1},
       {0x4833, 0x18, 0xff, 1},
       {0x4837, 0x14, 0xff, 1},
       {0x483b, 0x00, 0xff, 1},
       {0x484b, 0x03, 0xff, 1},
       {0x4850, 0x7c, 0xff, 1},
       {0x4852, 0x06, 0xff, 1},
       {0x4856, 0x58, 0xff, 1},
       {0x4857, 0xaa, 0xff, 1},
       {0x4862, 0x0a, 0xff, 1},
       {0x4869, 0x18, 0xff, 1},
       {0x486a, 0xaa, 0xff, 1},
       {0x486e, 0x03, 0xff, 1},
       {0x486f, 0x55, 0xff, 1},
       {0x4875, 0xf0, 0xff, 1},
       {0x5000, 0x89, 0xff, 1},
       {0x5001, 0x42, 0xff, 1},
       {0x5004, 0x40, 0xff, 1},
       {0x5005, 0x00, 0xff, 1},
       {0x5180, 0x00, 0xff, 1},
       {0x5181, 0x10, 0xff, 1},
       {0x580b, 0x03, 0xff, 1},
       {0x4d00, 0x03, 0xff, 1},
       {0x4d01, 0xc9, 0xff, 1},
       {0x4d02, 0xbc, 0xff, 1},
       {0x4d03, 0xc6, 0xff, 1},
       {0x4d04, 0x4a, 0xff, 1},
       {0x4d05, 0x25, 0xff, 1},
       {0x4700, 0x2b, 0xff, 1},
       {0x4e00, 0x2b, 0xff, 1},
       { 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_3840_2160_4lane_800m_30fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x32, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x08, 0xff, 1},
	{0x3502, 0xe5, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x00, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x69, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x21, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x0f, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380a, 0x08, 0xff, 1},
	{0x380b, 0x70, 0xff, 1},
	{0x380c, 0x08, 0xff, 1},
	{0x380d, 0x18, 0xff, 1},
	{0x380e, 0x09, 0xff, 1},
	{0x380f, 0x0a, 0xff, 1},
	{0x3813, 0x10, 0xff, 1},
	{0x3814, 0x01, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x01, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x00, 0xff, 1},
	{0x3821, 0x04, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x0d, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x18, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x14, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x40, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},
	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

acam_reg_t setting_1920_1080_4lane_1440m_60fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x5c, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x04, 0xff, 1},
	{0x3509, 0x00, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x39, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x360e, 0x86, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3762, 0x11, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x07, 0xff, 1},
	{0x3809, 0x80, 0xff, 1},
	{0x380a, 0x04, 0xff, 1},
	{0x380b, 0x38, 0xff, 1},
	{0x380c, 0x08, 0xff, 1},
	{0x380d, 0x18, 0xff, 1},
	{0x380e, 0x04, 0xff, 1},
	{0x380f, 0x86, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x05, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x0a, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

acam_reg_t setting_3840_2160_4lane_1440m_60fps[] = {
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x5c, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x3400, 0x04, 0xff, 1},
	{0x3025, 0x03, 0xff, 1},
	{0x3425, 0x51, 0xff, 1},
	{0x3428, 0x01, 0xff, 1},
	{0x3406, 0x08, 0xff, 1},
	{0x3408, 0x03, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x08, 0xff, 1},
	{0x3502, 0xe5, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x00, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x69, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x43, 0xff, 1},
	{0x3661, 0x06, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x21, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x0f, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380a, 0x08, 0xff, 1},
	{0x380b, 0x70, 0xff, 1},
	{0x380c, 0x04, 0xff, 1},
	{0x380d, 0x0c, 0xff, 1},
	{0x380e, 0x09, 0xff, 1},
	{0x380f, 0x0a, 0xff, 1},
	{0x3813, 0x10, 0xff, 1},
	{0x3814, 0x01, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x01, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x00, 0xff, 1},
	{0x3820, 0x00, 0xff, 1},
	{0x3821, 0x04, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x0d, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x18, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x90, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x0a, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x03, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x40, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},

	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_hdr_1920_1080_4lane_800m_30fps[] = {
	{0x103, 0x01, 0xff, 1},
	{0x303, 0x01, 0xff, 1},
	{0x305, 0x3c, 0xff, 1},
	{0x306, 0x00, 0xff, 1},
	{0x308, 0x03, 0xff, 1},
	{0x309, 0x04, 0xff, 1},
	{0x32a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x31e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x69, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x42, 0xff, 1},
	{0x3661, 0x07, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x07, 0xff, 1},
	{0x3809, 0x80, 0xff, 1},
	{0x380a, 0x04, 0xff, 1},
	{0x380b, 0x38, 0xff, 1},
	{0x380c, 0x04, 0xff, 1},
	{0x380d, 0x0c, 0xff, 1},
	{0x380e, 0x09, 0xff, 1},
	{0x380f, 0x0c, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x08, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x25, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x98, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x10, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x07, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x40, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},
	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_hdr_1920_1080_4lane_960m_60fps[] = {
	{0x103, 0x01, 0xff, 1},
	{0x303, 0x01, 0xff, 1},
	{0x305, 0x3c, 0xff, 1},
	{0x306, 0x00, 0xff, 1},
	{0x308, 0x03, 0xff, 1},
	{0x309, 0x04, 0xff, 1},
	{0x32a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x31e, 0x09, 0xff, 1},
	{0x3501, 0x04, 0xff, 1},
	{0x3502, 0x62, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x09, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x69, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x42, 0xff, 1},
	{0x3661, 0x07, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x35, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x22, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x07, 0xff, 1},
	{0x3809, 0x80, 0xff, 1},
	{0x380a, 0x04, 0xff, 1},
	{0x380b, 0x38, 0xff, 1},
	{0x380c, 0x04, 0xff, 1},
	{0x380d, 0x0c, 0xff, 1},
	{0x380e, 0x04, 0xff, 1},
	{0x380f, 0x86, 0xff, 1},
	{0x3813, 0x08, 0xff, 1},
	{0x3814, 0x03, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x03, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x08, 0xff, 1},
	{0x3820, 0x01, 0xff, 1},
	{0x3821, 0x25, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2f, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa1, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x04, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x05, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x0f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x98, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x98, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x10, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x07, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x40, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},
	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_hdr_2560_1440_4lane_1440m_30fps[] = {
       {0x0103, 0x01, 0xff, 1},
       {0x0303, 0x01, 0xff, 1},
       {0x0305, 0x5a, 0xff, 1},
       {0x0306, 0x00, 0xff, 1},
       {0x0308, 0x03, 0xff, 1},
       {0x0309, 0x04, 0xff, 1},
       {0x032a, 0x00, 0xff, 1},
       {0x300f, 0x11, 0xff, 1},
       {0x3010, 0x01, 0xff, 1},
       {0x3011, 0x04, 0xff, 1},
       {0x3012, 0x41, 0xff, 1},
       {0x3016, 0xf0, 0xff, 1},
       {0x301e, 0x98, 0xff, 1},
       {0x3031, 0xa9, 0xff, 1},
       {0x3103, 0x92, 0xff, 1},
       {0x3104, 0x01, 0xff, 1},
       {0x3106, 0x10, 0xff, 1},
       {0x340c, 0xff, 0xff, 1},
       {0x340d, 0xff, 0xff, 1},
       {0x031e, 0x09, 0xff, 1},
       {0x3501, 0x08, 0xff, 1},
       {0x3502, 0xe5, 0xff, 1},
       {0x3505, 0x83, 0xff, 1},
       {0x3508, 0x00, 0xff, 1},
       {0x3509, 0x80, 0xff, 1},
       {0x350a, 0x04, 0xff, 1},
       {0x350b, 0x00, 0xff, 1},
       {0x350c, 0x00, 0xff, 1},
       {0x350d, 0x80, 0xff, 1},
       {0x350e, 0x04, 0xff, 1},
       {0x350f, 0x00, 0xff, 1},
       {0x3600, 0x00, 0xff, 1},
       {0x3603, 0x2c, 0xff, 1},
       {0x3605, 0x50, 0xff, 1},
       {0x3609, 0xb5, 0xff, 1},
       {0x3610, 0x39, 0xff, 1},
       {0x360c, 0x01, 0xff, 1},
       {0x3628, 0xa4, 0xff, 1},
       {0x362d, 0x10, 0xff, 1},
       {0x3660, 0x42, 0xff, 1},
       {0x3661, 0x07, 0xff, 1},
       {0x3662, 0x00, 0xff, 1},
       {0x3663, 0x28, 0xff, 1},
       {0x3664, 0x0d, 0xff, 1},
       {0x366a, 0x38, 0xff, 1},
       {0x366b, 0xa0, 0xff, 1},
       {0x366d, 0x00, 0xff, 1},
       {0x366e, 0x00, 0xff, 1},
       {0x3680, 0x00, 0xff, 1},
       {0x36c0, 0x00, 0xff, 1},
       {0x3701, 0x02, 0xff, 1},
       {0x373b, 0x02, 0xff, 1},
       {0x373c, 0x02, 0xff, 1},
       {0x3736, 0x02, 0xff, 1},
       {0x3737, 0x02, 0xff, 1},
       {0x3705, 0x00, 0xff, 1},
       {0x3706, 0x39, 0xff, 1},
       {0x370a, 0x00, 0xff, 1},
       {0x370b, 0x98, 0xff, 1},
       {0x3709, 0x49, 0xff, 1},
       {0x3714, 0x21, 0xff, 1},
       {0x371c, 0x00, 0xff, 1},
       {0x371d, 0x08, 0xff, 1},
       {0x3740, 0x1b, 0xff, 1},
       {0x3741, 0x04, 0xff, 1},
       {0x375e, 0x0b, 0xff, 1},
       {0x3760, 0x10, 0xff, 1},
       {0x3776, 0x10, 0xff, 1},
       {0x3781, 0x02, 0xff, 1},
       {0x3782, 0x04, 0xff, 1},
       {0x3783, 0x02, 0xff, 1},
       {0x3784, 0x08, 0xff, 1},
       {0x3785, 0x08, 0xff, 1},
       {0x3788, 0x01, 0xff, 1},
       {0x3789, 0x01, 0xff, 1},
       {0x3797, 0x04, 0xff, 1},
       {0x3762, 0x11, 0xff, 1},
       {0x3800, 0x00, 0xff, 1},
       {0x3801, 0x00, 0xff, 1},
       {0x3802, 0x00, 0xff, 1},
       {0x3803, 0x0c, 0xff, 1},
       {0x3804, 0x0e, 0xff, 1},
       {0x3805, 0xff, 0xff, 1},
       {0x3806, 0x08, 0xff, 1},
       {0x3807, 0x6f, 0xff, 1},
       {0x3808, 0x0a, 0xff, 1},
       {0x3809, 0x00, 0xff, 1},
       {0x380a, 0x05, 0xff, 1},
       {0x380b, 0xa0, 0xff, 1},
       {0x380c, 0x04, 0xff, 1},
       {0x380d, 0x0c, 0xff, 1},
       {0x380e, 0x09, 0xff, 1},
       {0x380f, 0x0a, 0xff, 1},
       {0x3813, 0x10, 0xff, 1},
       {0x3814, 0x01, 0xff, 1},
       {0x3815, 0x01, 0xff, 1},
       {0x3816, 0x01, 0xff, 1},
       {0x3817, 0x01, 0xff, 1},
       {0x381c, 0x08, 0xff, 1},
       {0x3820, 0x00, 0xff, 1},
       {0x3821, 0x24, 0xff, 1},
       {0x3823, 0x08, 0xff, 1},
       {0x3826, 0x00, 0xff, 1},
       {0x3827, 0x08, 0xff, 1},
       {0x382d, 0x08, 0xff, 1},
       {0x3832, 0x02, 0xff, 1},
       {0x3833, 0x01, 0xff, 1},
       {0x383c, 0x48, 0xff, 1},
       {0x383d, 0xff, 0xff, 1},
       {0x3d85, 0x0b, 0xff, 1},
       {0x3d84, 0x40, 0xff, 1},
       {0x3d8c, 0x63, 0xff, 1},
       {0x3d8d, 0xd7, 0xff, 1},
       {0x4000, 0xf8, 0xff, 1},
       {0x4001, 0x2b, 0xff, 1},
       {0x4004, 0x00, 0xff, 1},
       {0x4005, 0x40, 0xff, 1},
       {0x400a, 0x01, 0xff, 1},
       {0x400f, 0xa0, 0xff, 1},
       {0x4010, 0x12, 0xff, 1},
       {0x4018, 0x00, 0xff, 1},
       {0x4008, 0x02, 0xff, 1},
       {0x4009, 0x0d, 0xff, 1},
       {0x401a, 0x58, 0xff, 1},
       {0x4050, 0x00, 0xff, 1},
       {0x4051, 0x01, 0xff, 1},
       {0x4028, 0x2f, 0xff, 1},
       {0x4052, 0x00, 0xff, 1},
       {0x4053, 0x80, 0xff, 1},
       {0x4054, 0x00, 0xff, 1},
       {0x4055, 0x80, 0xff, 1},
       {0x4056, 0x00, 0xff, 1},
       {0x4057, 0x80, 0xff, 1},
       {0x4058, 0x00, 0xff, 1},
       {0x4059, 0x80, 0xff, 1},
       {0x430b, 0xff, 0xff, 1},
       {0x430c, 0xff, 0xff, 1},
       {0x430d, 0x00, 0xff, 1},
       {0x430e, 0x00, 0xff, 1},
       {0x4501, 0x18, 0xff, 1},
       {0x4502, 0x00, 0xff, 1},
       {0x4643, 0x00, 0xff, 1},
       {0x4640, 0x01, 0xff, 1},
       {0x4641, 0x04, 0xff, 1},
       {0x4800, 0x64, 0xff, 1},
       {0x4809, 0x2b, 0xff, 1},
       {0x4813, 0x98, 0xff, 1},
       {0x4817, 0x04, 0xff, 1},
       {0x4833, 0x18, 0xff, 1},
       {0x4837, 0x0b, 0xff, 1},
       {0x483b, 0x00, 0xff, 1},
       {0x484b, 0x03, 0xff, 1},
       {0x4850, 0x7c, 0xff, 1},
       {0x4852, 0x06, 0xff, 1},
       {0x4856, 0x58, 0xff, 1},
       {0x4857, 0xaa, 0xff, 1},
       {0x4862, 0x0a, 0xff, 1},
       {0x4869, 0x18, 0xff, 1},
       {0x486a, 0xaa, 0xff, 1},
       {0x486e, 0x07, 0xff, 1},
       {0x486f, 0x55, 0xff, 1},
       {0x4875, 0xf0, 0xff, 1},
       {0x5000, 0x89, 0xff, 1},
       {0x5001, 0x42, 0xff, 1},
       {0x5004, 0x40, 0xff, 1},
       {0x5005, 0x00, 0xff, 1},
       {0x5180, 0x00, 0xff, 1},
       {0x5181, 0x10, 0xff, 1},
       {0x580b, 0x03, 0xff, 1},
       {0x4d00, 0x03, 0xff, 1},
       {0x4d01, 0xc9, 0xff, 1},
       {0x4d02, 0xbc, 0xff, 1},
       {0x4d03, 0xc6, 0xff, 1},
       {0x4d04, 0x4a, 0xff, 1},
       {0x4d05, 0x25, 0xff, 1},
       {0x4700, 0x2b, 0xff, 1},
       {0x4e00, 0x2b, 0xff, 1},
       {0x3501, 0x08, 0xff, 1},
       {0x3502, 0xe1, 0xff, 1},
       {0x3511, 0x00, 0xff, 1},
       {0x3512, 0x20, 0xff, 1},
       {0x3833, 0x01, 0xff, 1},
       {0x0000, 0x0000, 0x0000, 0x0000 },
};

static acam_reg_t setting_hdr_3840_2160_4lane_1440m_30fps[] = {
	{ 0x0100, 0x00, 0xff, 1},
	{ 0x0103, 0x01, 0xff, 1},
	{ 0x0303, 0x01, 0xff, 1},
	{ 0x0305, 0x5a, 0xff, 1},
	{ 0x0306, 0x00, 0xff, 1},
	{ 0x0308, 0x03, 0xff, 1},
	{ 0x0309, 0x04, 0xff, 1},
	{ 0x032a, 0x00, 0xff, 1},
	{ 0x300f, 0x11, 0xff, 1},
	{ 0x3010, 0x01, 0xff, 1},
	{ 0x3011, 0x04, 0xff, 1},
	{ 0x3012, 0x41, 0xff, 1},
	{ 0x3016, 0xf0, 0xff, 1},
	{ 0x301e, 0x98, 0xff, 1},
	{ 0x3031, 0xa9, 0xff, 1},
	{ 0x3103, 0x92, 0xff, 1},
	{ 0x3104, 0x01, 0xff, 1},
	{ 0x3106, 0x10, 0xff, 1},
	{ 0x340c, 0xff, 0xff, 1},
	{ 0x340d, 0xff, 0xff, 1},
	{ 0x031e, 0x09, 0xff, 1},
	{ 0x3501, 0x08, 0xff, 1},
	{ 0x3502, 0xe5, 0xff, 1},
	{ 0x3505, 0x83, 0xff, 1},
	{ 0x3508, 0x00, 0xff, 1},
	{ 0x3509, 0x80, 0xff, 1},
	{ 0x350a, 0x04, 0xff, 1},
	{ 0x350b, 0x00, 0xff, 1},
	{ 0x350c, 0x00, 0xff, 1},
	{ 0x350d, 0x80, 0xff, 1},
	{ 0x350e, 0x04, 0xff, 1},
	{ 0x350f, 0x00, 0xff, 1},
	{ 0x3600, 0x00, 0xff, 1},
	{ 0x3603, 0x2c, 0xff, 1},
	{ 0x3605, 0x50, 0xff, 1},
	{ 0x3609, 0xb5, 0xff, 1},
	{ 0x3610, 0x39, 0xff, 1},
	{ 0x360c, 0x01, 0xff, 1},
	{ 0x3628, 0xa4, 0xff, 1},
	{ 0x362d, 0x10, 0xff, 1},
	{ 0x3660, 0x42, 0xff, 1},
	{ 0x3661, 0x07, 0xff, 1},
	{ 0x3662, 0x00, 0xff, 1},
	{ 0x3663, 0x28, 0xff, 1},
	{ 0x3664, 0x0d, 0xff, 1},
	{ 0x366a, 0x38, 0xff, 1},
	{ 0x366b, 0xa0, 0xff, 1},
	{ 0x366d, 0x00, 0xff, 1},
	{ 0x366e, 0x00, 0xff, 1},
	{ 0x3680, 0x00, 0xff, 1},
	{ 0x36c0, 0x00, 0xff, 1},
	{ 0x3701, 0x02, 0xff, 1},
	{ 0x373b, 0x02, 0xff, 1},
	{ 0x373c, 0x02, 0xff, 1},
	{ 0x3736, 0x02, 0xff, 1},
	{ 0x3737, 0x02, 0xff, 1},
	{ 0x3705, 0x00, 0xff, 1},
	{ 0x3706, 0x39, 0xff, 1},
	{ 0x370a, 0x00, 0xff, 1},
	{ 0x370b, 0x98, 0xff, 1},
	{ 0x3709, 0x49, 0xff, 1},
	{ 0x3714, 0x21, 0xff, 1},
	{ 0x371c, 0x00, 0xff, 1},
	{ 0x371d, 0x08, 0xff, 1},
	{ 0x3740, 0x1b, 0xff, 1},
	{ 0x3741, 0x04, 0xff, 1},
	{ 0x375e, 0x0b, 0xff, 1},
	{ 0x3760, 0x10, 0xff, 1},
	{ 0x3776, 0x10, 0xff, 1},
	{ 0x3781, 0x02, 0xff, 1},
	{ 0x3782, 0x04, 0xff, 1},
	{ 0x3783, 0x02, 0xff, 1},
	{ 0x3784, 0x08, 0xff, 1},
	{ 0x3785, 0x08, 0xff, 1},
	{ 0x3788, 0x01, 0xff, 1},
	{ 0x3789, 0x01, 0xff, 1},
	{ 0x3797, 0x04, 0xff, 1},
	{ 0x3762, 0x11, 0xff, 1},
	{ 0x3800, 0x00, 0xff, 1},
	{ 0x3801, 0x00, 0xff, 1},
	{ 0x3802, 0x00, 0xff, 1},
	{ 0x3803, 0x0c, 0xff, 1},
	{ 0x3804, 0x0e, 0xff, 1},
	{ 0x3805, 0xff, 0xff, 1},
	{ 0x3806, 0x08, 0xff, 1},
	{ 0x3807, 0x6f, 0xff, 1},
	{ 0x3808, 0x0f, 0xff, 1},
	{ 0x3809, 0x00, 0xff, 1},
	{ 0x380a, 0x08, 0xff, 1},
	{ 0x380b, 0x70, 0xff, 1},
	{ 0x380c, 0x04, 0xff, 1},
	{ 0x380d, 0x0c, 0xff, 1},
	{ 0x380e, 0x09, 0xff, 1},
	{ 0x380f, 0x0a, 0xff, 1},
	{ 0x3813, 0x10, 0xff, 1},
	{ 0x3814, 0x01, 0xff, 1},
	{ 0x3815, 0x01, 0xff, 1},
	{ 0x3816, 0x01, 0xff, 1},
	{ 0x3817, 0x01, 0xff, 1},
	{ 0x381c, 0x08, 0xff, 1},
	{ 0x3820, 0x00, 0xff, 1},
	{ 0x3821, 0x24, 0xff, 1},
	{ 0x3823, 0x08, 0xff, 1},
	{ 0x3826, 0x00, 0xff, 1},
	{ 0x3827, 0x08, 0xff, 1},
	{ 0x382d, 0x08, 0xff, 1},
	{ 0x3832, 0x02, 0xff, 1},
	{ 0x3833, 0x01, 0xff, 1},
	{ 0x383c, 0x48, 0xff, 1},
	{ 0x383d, 0xff, 0xff, 1},
	{ 0x3d85, 0x0b, 0xff, 1},
	{ 0x3d84, 0x40, 0xff, 1},
	{ 0x3d8c, 0x63, 0xff, 1},
	{ 0x3d8d, 0xd7, 0xff, 1},
	{ 0x4000, 0xf8, 0xff, 1},
	{ 0x4001, 0x2b, 0xff, 1},
	{ 0x4004, 0x00, 0xff, 1},
	{ 0x4005, 0x40, 0xff, 1},
	{ 0x400a, 0x01, 0xff, 1},
	{ 0x400f, 0xa0, 0xff, 1},
	{ 0x4010, 0x12, 0xff, 1},
	{ 0x4018, 0x00, 0xff, 1},
	{ 0x4008, 0x02, 0xff, 1},
	{ 0x4009, 0x0d, 0xff, 1},
	{ 0x401a, 0x58, 0xff, 1},
	{ 0x4050, 0x00, 0xff, 1},
	{ 0x4051, 0x01, 0xff, 1},
	{ 0x4028, 0x2f, 0xff, 1},
	{ 0x4052, 0x00, 0xff, 1},
	{ 0x4053, 0x80, 0xff, 1},
	{ 0x4054, 0x00, 0xff, 1},
	{ 0x4055, 0x80, 0xff, 1},
	{ 0x4056, 0x00, 0xff, 1},
	{ 0x4057, 0x80, 0xff, 1},
	{ 0x4058, 0x00, 0xff, 1},
	{ 0x4059, 0x80, 0xff, 1},
	{ 0x430b, 0xff, 0xff, 1},
	{ 0x430c, 0xff, 0xff, 1},
	{ 0x430d, 0x00, 0xff, 1},
	{ 0x430e, 0x00, 0xff, 1},
	{ 0x4501, 0x18, 0xff, 1},
	{ 0x4502, 0x00, 0xff, 1},
	{ 0x4643, 0x00, 0xff, 1},
	{ 0x4640, 0x01, 0xff, 1},
	{ 0x4641, 0x04, 0xff, 1},
	{ 0x4800, 0x04, 0xff, 1},
	{ 0x4809, 0x2b, 0xff, 1},
	{ 0x4813, 0x98, 0xff, 1},
	{ 0x4817, 0x04, 0xff, 1},
	{ 0x4833, 0x18, 0xff, 1},
	{ 0x4837, 0x0b, 0xff, 1},
	{ 0x483b, 0x00, 0xff, 1},
	{ 0x484b, 0x03, 0xff, 1},
	{ 0x4850, 0x7c, 0xff, 1},
	{ 0x4852, 0x06, 0xff, 1},
	{ 0x4856, 0x58, 0xff, 1},
	{ 0x4857, 0xaa, 0xff, 1},
	{ 0x4862, 0x0a, 0xff, 1},
	{ 0x4869, 0x18, 0xff, 1},
	{ 0x486a, 0xaa, 0xff, 1},
	{ 0x486e, 0x07, 0xff, 1},
	{ 0x486f, 0x55, 0xff, 1},
	{ 0x4875, 0xf0, 0xff, 1},
	{ 0x5000, 0x89, 0xff, 1},
	{ 0x5001, 0x42, 0xff, 1},
	{ 0x5004, 0x40, 0xff, 1},
	{ 0x5005, 0x00, 0xff, 1},
	{ 0x5180, 0x00, 0xff, 1},
	{ 0x5181, 0x10, 0xff, 1},
	{ 0x580b, 0x03, 0xff, 1},
	{ 0x4d00, 0x03, 0xff, 1},
	{ 0x4d01, 0xc9, 0xff, 1},
	{ 0x4d02, 0xbc, 0xff, 1},
	{ 0x4d03, 0xc6, 0xff, 1},
	{ 0x4d04, 0x4a, 0xff, 1},
	{ 0x4d05, 0x25, 0xff, 1},
	{ 0x4700, 0x2b, 0xff, 1},
	{ 0x4e00, 0x2b, 0xff, 1},
	{ 0x3501, 0x08, 0xff, 1},
	{ 0x3502, 0xe1, 0xff, 1},
	{ 0x3511, 0x00, 0xff, 1},
	{ 0x3512, 0x20, 0xff, 1},
	{ 0x3833, 0x01, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t setting_hdr_3840_2160_4lane_848m_15fps[] = {
	{0x0100, 0x00, 0xff, 1},
	{0x0103, 0x01, 0xff, 1},
	{0x0303, 0x01, 0xff, 1},
	{0x0305, 0x35, 0xff, 1},
	{0x0306, 0x00, 0xff, 1},
	{0x0308, 0x03, 0xff, 1},
	{0x0309, 0x04, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x300f, 0x11, 0xff, 1},
	{0x3010, 0x01, 0xff, 1},
	{0x3011, 0x04, 0xff, 1},
	{0x3012, 0x41, 0xff, 1},
	{0x3016, 0xf0, 0xff, 1},
	{0x301e, 0x98, 0xff, 1},
	{0x3031, 0xa9, 0xff, 1},
	{0x3103, 0x92, 0xff, 1},
	{0x3104, 0x01, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x340c, 0xff, 0xff, 1},
	{0x340d, 0xff, 0xff, 1},
	{0x031e, 0x09, 0xff, 1},
	{0x3501, 0x06, 0xff, 1},
	{0x3502, 0xe5, 0xff, 1},
	{0x3505, 0x83, 0xff, 1},
	{0x3508, 0x00, 0xff, 1},
	{0x3509, 0x80, 0xff, 1},
	{0x350a, 0x04, 0xff, 1},
	{0x350b, 0x00, 0xff, 1},
	{0x350c, 0x00, 0xff, 1},
	{0x350d, 0x80, 0xff, 1},
	{0x350e, 0x04, 0xff, 1},
	{0x350f, 0x00, 0xff, 1},
	{0x3600, 0x00, 0xff, 1},
	{0x3603, 0x2c, 0xff, 1},
	{0x3605, 0x50, 0xff, 1},
	{0x3609, 0xb5, 0xff, 1},
	{0x3610, 0x39, 0xff, 1},
	{0x360c, 0x01, 0xff, 1},
	{0x3628, 0xa4, 0xff, 1},
	{0x362d, 0x10, 0xff, 1},
	{0x3660, 0x42, 0xff, 1},
	{0x3661, 0x07, 0xff, 1},
	{0x3662, 0x00, 0xff, 1},
	{0x3663, 0x28, 0xff, 1},
	{0x3664, 0x0d, 0xff, 1},
	{0x366a, 0x38, 0xff, 1},
	{0x366b, 0xa0, 0xff, 1},
	{0x366d, 0x00, 0xff, 1},
	{0x366e, 0x00, 0xff, 1},
	{0x3680, 0x00, 0xff, 1},
	//{0x36c0, 0x00, 0xff, 1},
	{0x36c0, 0x00, 0xff, 1},
	{0x3701, 0x02, 0xff, 1},
	{0x373b, 0x02, 0xff, 1},
	{0x373c, 0x02, 0xff, 1},
	{0x3736, 0x02, 0xff, 1},
	{0x3737, 0x02, 0xff, 1},
	{0x3705, 0x00, 0xff, 1},
	{0x3706, 0x39, 0xff, 1},
	{0x370a, 0x00, 0xff, 1},
	{0x370b, 0x98, 0xff, 1},
	{0x3709, 0x49, 0xff, 1},
	{0x3714, 0x21, 0xff, 1},
	{0x371c, 0x00, 0xff, 1},
	{0x371d, 0x08, 0xff, 1},
	{0x3740, 0x1b, 0xff, 1},
	{0x3741, 0x04, 0xff, 1},
	{0x375e, 0x0b, 0xff, 1},
	{0x3760, 0x10, 0xff, 1},
	{0x3776, 0x10, 0xff, 1},
	{0x3781, 0x02, 0xff, 1},
	{0x3782, 0x04, 0xff, 1},
	{0x3783, 0x02, 0xff, 1},
	{0x3784, 0x08, 0xff, 1},
	{0x3785, 0x08, 0xff, 1},
	{0x3788, 0x01, 0xff, 1},
	{0x3789, 0x01, 0xff, 1},
	{0x3797, 0x04, 0xff, 1},
	{0x3798, 0x00, 0xff, 1},
	{0x3799, 0x00, 0xff, 1},
	{0x3762, 0x11, 0xff, 1},
	{0x3800, 0x00, 0xff, 1},
	{0x3801, 0x00, 0xff, 1},
	{0x3802, 0x00, 0xff, 1},
	{0x3803, 0x0c, 0xff, 1},
	{0x3804, 0x0e, 0xff, 1},
	{0x3805, 0xff, 0xff, 1},
	{0x3806, 0x08, 0xff, 1},
	{0x3807, 0x6f, 0xff, 1},
	{0x3808, 0x0f, 0xff, 1},
	{0x3809, 0x00, 0xff, 1},
	{0x380a, 0x08, 0xff, 1},
	{0x380b, 0x70, 0xff, 1},
	{0x3813, 0x10, 0xff, 1},
	{0x3814, 0x01, 0xff, 1},
	{0x3815, 0x01, 0xff, 1},
	{0x3816, 0x01, 0xff, 1},
	{0x3817, 0x01, 0xff, 1},
	{0x381c, 0x08, 0xff, 1},
	{0x3820, 0x00, 0xff, 1},
	{0x3821, 0x24, 0xff, 1},
	{0x3822, 0x54, 0xff, 1},
	{0x3823, 0x08, 0xff, 1},
	{0x3826, 0x00, 0xff, 1},
	{0x3827, 0x08, 0xff, 1},
	{0x382d, 0x08, 0xff, 1},
	{0x3832, 0x02, 0xff, 1},
	{0x3833, 0x01, 0xff, 1},
	{0x383c, 0x48, 0xff, 1},
	{0x383d, 0xff, 0xff, 1},
	{0x3d85, 0x0b, 0xff, 1},
	{0x3d84, 0x40, 0xff, 1},
	{0x3d8c, 0x63, 0xff, 1},
	{0x3d8d, 0xd7, 0xff, 1},
	{0x4000, 0xf8, 0xff, 1},
	{0x4001, 0x2b, 0xff, 1},
	{0x4004, 0x00, 0xff, 1},
	{0x4005, 0x40, 0xff, 1},
	{0x400a, 0x01, 0xff, 1},
	{0x400f, 0xa0, 0xff, 1},
	{0x4010, 0x12, 0xff, 1},
	{0x4018, 0x00, 0xff, 1},
	{0x4008, 0x02, 0xff, 1},
	{0x4009, 0x0d, 0xff, 1},
	{0x401a, 0x58, 0xff, 1},
	{0x4050, 0x00, 0xff, 1},
	{0x4051, 0x01, 0xff, 1},
	{0x4028, 0x2f, 0xff, 1},
	{0x4052, 0x00, 0xff, 1},
	{0x4053, 0x80, 0xff, 1},
	{0x4054, 0x00, 0xff, 1},
	{0x4055, 0x80, 0xff, 1},
	{0x4056, 0x00, 0xff, 1},
	{0x4057, 0x80, 0xff, 1},
	{0x4058, 0x00, 0xff, 1},
	{0x4059, 0x80, 0xff, 1},
	{0x430b, 0xff, 0xff, 1},
	{0x430c, 0xff, 0xff, 1},
	{0x430d, 0x00, 0xff, 1},
	{0x430e, 0x00, 0xff, 1},
	{0x4501, 0x18, 0xff, 1},
	{0x4502, 0x00, 0xff, 1},
	{0x4643, 0x00, 0xff, 1},
	{0x4640, 0x01, 0xff, 1},
	{0x4641, 0x04, 0xff, 1},
	{0x4800, 0x04, 0xff, 1},
	{0x4809, 0x2b, 0xff, 1},
	{0x4813, 0x98, 0xff, 1},
	{0x4817, 0x04, 0xff, 1},
	{0x4833, 0x18, 0xff, 1},
	{0x4837, 0x12, 0xff, 1},
	{0x483b, 0x00, 0xff, 1},
	{0x484b, 0x03, 0xff, 1},
	{0x4850, 0x7c, 0xff, 1},
	{0x4852, 0x06, 0xff, 1},
	{0x4856, 0x58, 0xff, 1},
	{0x4857, 0xaa, 0xff, 1},
	{0x4862, 0x0a, 0xff, 1},
	{0x4869, 0x18, 0xff, 1},
	{0x486a, 0xaa, 0xff, 1},
	{0x486e, 0x07, 0xff, 1},
	{0x486f, 0x55, 0xff, 1},
	{0x4875, 0xf0, 0xff, 1},
	{0x5000, 0x89, 0xff, 1},
	{0x5001, 0x42, 0xff, 1},
	{0x5004, 0x40, 0xff, 1},
	{0x5005, 0x00, 0xff, 1},
	{0x5180, 0x00, 0xff, 1},
	{0x5181, 0x10, 0xff, 1},
	{0x580b, 0x03, 0xff, 1},
	{0x4d00, 0x03, 0xff, 1},
	{0x4d01, 0xc9, 0xff, 1},
	{0x4d02, 0xbc, 0xff, 1},
	{0x4d03, 0xc6, 0xff, 1},
	{0x4d04, 0x4a, 0xff, 1},
	{0x4d05, 0x25, 0xff, 1},
	{0x4700, 0x2b, 0xff, 1},
	{0x4e00, 0x2b, 0xff, 1},
	{0x0323, 0x02, 0xff, 1},
	{0x0325, 0x45, 0xff, 1},
	{0x0328, 0x05, 0xff, 1},
	{0x0329, 0x01, 0xff, 1},
	{0x032a, 0x00, 0xff, 1},
	{0x3106, 0x10, 0xff, 1},
	{0x380c, 0x07, 0xff, 1},
	{0x380d, 0xd0, 0xff, 1},
	{0x380e, 0x08, 0xff, 1},
	{0x380f, 0xca, 0xff, 1},
	{0x3810, 0x00, 0xff, 1},
	{0x3811, 0x00, 0xff, 1},
	{0x3812, 0x00, 0xff, 1},
	{0x3813, 0x10, 0xff, 1},
	{ 0x0000, 0x0000, 0x0000, 0x0000 },
};


static acam_reg_t settings_context_os08a10[] = {
    //stop sequence - address is 0x0000
    { 0x0000, 0x0000, 0x0000, 0x0000 }
};

static const acam_reg_t *seq_table[] = {
    init,
    setting_1280_720_2lane_250m_5fps,
    setting_1920_1080_4lane_800m_30fps,
    setting_1920_1080_4lane_1440m_60fps,
    setting_3840_2160_4lane_800m_30fps,
    setting_3840_2160_4lane_1440m_60fps,
    setting_hdr_1920_1080_4lane_960m_60fps,
    setting_1280_720_2lane_688m_5fps,
    setting_1280_720_4lane_688m_5fps,
    setting_hdr_3840_2160_4lane_848m_15fps,
    setting_hdr_3840_2160_4lane_1440m_30fps,
    setting_2560_1440_4lane_800m_30fps,
    setting_hdr_2560_1440_4lane_1440m_30fps,
    setting_hdr_1920_1080_4lane_800m_30fps,
};

static const acam_reg_t *isp_seq_table[] = {
    settings_context_os08a10,
};


#define SENSOR__OV08A10_SEQUENCE_DEFAULT seq_table
#define SENSOR__OV08A10_ISP_SEQUENCE_DEFAULT seq_table


#define SENSOR_OV08A10_SEQUENCE_DEFAULT_INIT    0
#define SENSOR_OV08A10_SEQUENCE_DEFAULT_PREVIEW    1
#define SENSOR_OV08A10_SEQUENCE_SECOND_PREVIEW    2
#define SENSOR_OV08A10_SEQUENCE_THIRD_PREVIEW    3
#define SENSOR_OV08A10_SEQUENCE_S2_PREVIEW    4
#define SENSOR_OV08A10_SEQUENCE_S4_PREVIEW    5

#define SENSOR_OV08A10_ISP_CONTEXT_SEQ   0


#endif /* __OV08A10_SENSOR_H__ */
